<%@page contentType="text/html;charset=utf-8" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>电影推荐系统网站会员注册</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath }/assets/css/log-reg-style.css"/>
<body>

<div class="register-container">
    <h1>电影推荐系统</h1>

    <div class="connect">
        <p>网站会员注册</p>
    </div>

    <form action="${pageContext.request.contextPath }/memberIndex" method="post" id="registerForm">
        <input type="hidden" name="method" value="register">
        <div>
            <input type="text" name="account" class="username" placeholder="在此输入您的用户名" autocomplete="off"/>
        </div>
        <div>
            <input type="text" name="name" class="uname" placeholder="在此输入您的姓名" autocomplete="off"/>
        </div>
        <div>
            <input type="email" name="email" class="email" placeholder="在此输入您的Email" oncontextmenu="return false"
                   onpaste="return false"/>
        </div>
        <div>
            <input type="text" name="phone" class="phone_number" placeholder="在此输入您的联系方式" autocomplete="off"
                   id="number"/>
        </div>
        <div>
            <input type="password" name="password" class="password" placeholder="在此输入您的密码" oncontextmenu="return false"
                   onpaste="return false"/>
        </div>
        <div>
            <input type="password" name="confirm_password" class="confirm_password" placeholder="请再次输入您的密码"
                   oncontextmenu="return false" onpaste="return false"/>
        </div>
        <button id="submit" type="submit">注册</button>
    </form>
    <a href="${pageContext.request.contextPath }/memberIndex?method=doLogin">
        <button type="button" class="register-tis">已有账号?</button>
    </a>

</div>


<script src="${pageContext.request.contextPath }/assets/js/log-reg-js/jquery.min.js"></script>
<script src="${pageContext.request.contextPath }/assets/js/log-reg-js/common.js"></script>
<!--背景图片自动更换-->
<script src="${pageContext.request.contextPath }/assets/js/log-reg-js/supersized.3.2.7.min.js"></script>
<script src="${pageContext.request.contextPath }/assets/js/log-reg-js/supersized-init.js"></script>
<!--表单验证-->
<script src="${pageContext.request.contextPath }/assets/js/log-reg-js/jquery.validate.min.js?var1.14.0"></script>

</body>
</html>